// https://github.com/noahlam/Miment
// https://dayjs.gitee.io/docs/zh-CN/installation/typescript
export const getToday=()=>{
	console.log("=====")
}


export const toYMD=(time,tag="-")=>{
	var _time=new Date(time)
	var y=_time.getFullYear()
	var m=_time.getMonth()+1
	var d=_time.getDate()
	return `${y}${tag}${m>9?m:"0"+m}${tag}${d>9?d:"0"+d}`
}